package com.qnbc.mystery.domain;

import com.qnbc.mystery.core.annotation.Excel;
import com.qnbc.mystery.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 奖盒设置对象 box_set
 *
 * @author guzj
 * @date 2024-03-04
 */
public class BoxSet {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 盒子名称
     */
    @Excel(name = "盒子名称")
    private String boxName;

    /**
     * 类型  2 一番赏   3 魔力赏
     */
    @Excel(name = "类型  2 一番赏   3 魔力赏")
    private int boxType;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long num;

    /**
     * 中奖几率
     */
    @Excel(name = "中奖几率")
    private double winLv;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setBoxName(String boxName) {
        this.boxName = boxName;
    }

    public String getBoxName() {
        return boxName;
    }

    public void setBoxType(int boxType) {
        this.boxType = boxType;
    }

    public int getBoxType() {
        return boxType;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public Long getNum() {
        return num;
    }

    public void setWinLv(double winLv) {
        this.winLv = winLv;
    }

    public double getWinLv() {
        return winLv;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("boxName", getBoxName())
                .append("boxType", getBoxType())
                .append("num", getNum())
                .append("winLv", getWinLv())
                .toString();
    }
}
